#pragma once

#ifndef DLL_MATHS_H
#define DLL_MATHS_H
#endif

//#include "bbAddon.h"

/* - Maths - ------------------------------------- */
	
	BBAEXPcfloat Min_( const float a, const float b );
	BBAEXPcfloat Max_( const float a, const float b );
	BBAEXPcfloat LinearInterp ( const float a, const float b, const float rate );
	BBAEXPcfloat CosInterp ( const float a, const float b, const float rate );
	BBAEXPcfloat CubicInterp(const float a,const float b,const float c,const float d,const float rate);
	BBAEXPcfloat RadToDeg_(const float a);
	BBAEXPcfloat DegToRad_(const float a);

/* Pi */
	
	#define PI 3.14159265f
	#define _RadToDeg 180.0f/PI
	#define _DegToRad PI/180.0f

/* Math Epsilon */
	#define FLOAT_EPSILON	.0001f
	#define SQV2_EPSILON	.0001f
	#define SQV2_EPSILON2	.0001f


